from django import forms

import widgets

class URLField(forms.URLField):
    def __init__(self, model, *args, **kwargs):
        super(URLField, self).__init__(widget=widgets.URLInput, *args, **kwargs)
        
class SlugField(forms.SlugField):
    def __init__(self, model, *args, **kwargs):
        super(SlugField, self).__init__(widget=widgets.SlugInput, *args, **kwargs)